package state;

import context.Zh0202GamePlayer;

/**
 * @author: zh
 * @date: 2021/12/16 20:46
 * @version: 1.0
 */
@SuppressWarnings("all")
public abstract class Zh0202Grade {
    protected int score=0;
    protected Zh0202GamePlayer gamePlayer;

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public Zh0202GamePlayer getGamePlayer() {
        return gamePlayer;
    }

    public void setGamePlayer(Zh0202GamePlayer gamePlayer) {
        this.gamePlayer = gamePlayer;
    }

    public boolean play() {
        return true;
    }

    public boolean doubleScore() {
        return false;
    }

    public boolean changeCards(){
        return false;
    }

    public boolean peekCards(){
        return false;
    }

    public abstract void checkGrade();
}
